package com.jxl.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 情绪自测表
 * </p>
 *
 * @author 金小梁
 * @since 2025-02-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("emotional_self_assessment")
@ApiModel(value="EmotionalSelfAssessment对象", description="情绪自测表")
public class EmotionalSelfAssessment implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "测试唯一标识")
    @TableId(value = "test_id", type = IdType.AUTO)
    private Integer testId;

    @ApiModelProperty(value = "测试名称（如焦虑自测）")
    private String testName;

    @ApiModelProperty(value = "测试描述")
    private String description;

    @ApiModelProperty(value = "测试问题（JSON格式存储问题列表）")
    private String questions;

    @ApiModelProperty(value = "得分计算规则（JSON格式）")
    private String scoreCalculationRule;

    @ApiModelProperty(value = "情绪自测表的缩略图链接")
    private String thumbnailUrl;


}
